package crawler.cnki.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Document(collection = "Patent")
public class Patent {

    @Id
    String _id;
    @Field("title")
    String title;
    @Field("summary")
    String summary;
    @Field("type")
    String type;
    @Field("patentID")
    String patentID;
    @Field("applyDate")
    String applyDate;
    @Field("publishID")
    String publishID;
    @Field("publicDate")
    String publicDate;
    @Field("mainTypeNumber")
    String mainTypeNumber;
    @Field("typeNumber")
    String typeNumber;
    @Field("owner")
    String owner;
    @Field("designer")
    String designer;
    @Field("address")
    String address;
    @Field("agency")
    String agency;
    @Field("agent")
    String agent;
    @Field("code")
    String code;
    @Field("description")
    String description;
    @Field("status")
    String status;
    @Field("read")
    int read;
    @Field("change")
    Boolean change = false;

    public String getId() {
        return _id;
    }

    public void setId(String id) {
        _id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPatentID() {
        return patentID;
    }

    public void setPatentID(String patentID) {
        this.patentID = patentID;
    }

    public String getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(String applyDate) {
        this.applyDate = applyDate;
    }

    public String getPublishID() {
        return publishID;
    }

    public void setPublishID(String publishID) {
        this.publishID = publishID;
    }

    public String getPublicDate() {
        return publicDate;
    }

    public void setPublicDate(String publicDate) {
        this.publicDate = publicDate;
    }

    public String getMainTypeNumber() {
        return mainTypeNumber;
    }

    public void setMainTypeNumber(String mainTypeNumber) {
        this.mainTypeNumber = mainTypeNumber;
    }

    public String getTypeNumber() {
        return typeNumber;
    }

    public void setTypeNumber(String typeNumber) {
        this.typeNumber = typeNumber;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getDesigner() {
        return designer;
    }

    public void setDesigner(String designer) {
        this.designer = designer;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAgency() {
        return agency;
    }

    public void setAgency(String agency) {
        this.agency = agency;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getChange() {
        return change;
    }

    public void setChange(Boolean change) {
        this.change = change;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public int getRead() {
        return read;
    }

    public void setRead(int read) {
        this.read = read;
    }
}
